using System;
using System.Data;
using System.Collections.Generic;
using System.Text;

using Model;
using Model.WWW_WWW.Rss;

namespace BLL.WWW_WWW.Rss
{
    public class RssSystem : MarshalByRefObject
    {
        public RssSystem()
        {
        }
        public List<T_RssFeedDetails> SelectRssFeed()
        {
            return SiteProvider.WWW_WWW_Rss_Provider.T_RssFeedSelect();
        }

        public List<T_RssFeedDetails> SelectRssFeed(string where, string sort, int pageIndex, int pageSize, out int recordCount)
        {
            return SiteProvider.WWW_WWW_Rss_Provider.T_RssFeedSelect(where, sort, pageIndex, pageSize, out recordCount);
        }

        public T_RssFeedDetails SelectRssFeedByPK(T_RssFeedDetails entity)
        {
            return SiteProvider.WWW_WWW_Rss_Provider.T_RssFeedSelectByPK(entity);
        }

        public int DeleteRssFeed(T_RssFeedDetails entity)
        {
            return SiteProvider.WWW_WWW_Rss_Provider.T_RssFeedDelete(entity);
        }

        public int UpdateRssFeed(T_RssFeedDetails entity)
        {
            return SiteProvider.WWW_WWW_Rss_Provider.T_RssFeedUpdate(entity);
        }

        public int InsertRssFeed(T_RssFeedDetails entity)
        {
            return SiteProvider.WWW_WWW_Rss_Provider.T_RssFeedInsert(entity);
        }

        public List<T_RssFeedSubscriptionDetails> SelectRssFeedSubscription()
        {
            return SiteProvider.WWW_WWW_Rss_Provider.T_RssFeedSubscriptionSelect();
        }

        public List<T_RssFeedSubscriptionDetails> SelectRssFeedSubscription(string where, string sort, int pageIndex, int pageSize, out int recordCount)
        {
            return SiteProvider.WWW_WWW_Rss_Provider.T_RssFeedSubscriptionSelect(where, sort, pageIndex, pageSize, out recordCount);
        }

        public DataTable SelectRssFeedSubscription(string memberNo)
        {
            return SiteProvider.WWW_WWW_Rss_Provider.T_RssFeedSubscriptionSelect(memberNo);
        }
        public string GetLanguage(string memberno)
        {
            return SiteProvider.WWW_WWW_Rss_Provider.GetLanguage(memberno);
        }
        public int UpdateRssFeedSubscription(string memberNo, string url, int showCount)
        {
            return SiteProvider.WWW_WWW_Rss_Provider.T_RssFeedSubscriptionUpdate(memberNo, url, showCount);
        }
        public int DeleteRssFeedSubscription(string memberNo, string url)
        {
            return SiteProvider.WWW_WWW_Rss_Provider.T_RssFeedSubscriptionDelete(memberNo, url);
        }

        public T_RssFeedSubscriptionDetails SelectRssFeedSubscriptionByPK(T_RssFeedSubscriptionDetails entity)
        {
            return SiteProvider.WWW_WWW_Rss_Provider.T_RssFeedSubscriptionSelectByPK(entity);
        }

        public int DeleteRssFeedSubscription(T_RssFeedSubscriptionDetails entity)
        {
            return SiteProvider.WWW_WWW_Rss_Provider.T_RssFeedSubscriptionDelete(entity);
        }

        public int UpdateRssFeedSubscription(T_RssFeedSubscriptionDetails entity)
        {
            return SiteProvider.WWW_WWW_Rss_Provider.T_RssFeedSubscriptionUpdate(entity);
        }

        public int InsertRssFeedSubscription(T_RssFeedSubscriptionDetails entity)
        {
            return SiteProvider.WWW_WWW_Rss_Provider.T_RssFeedSubscriptionInsert(entity);
        }
    }
}
